<?php
namespace app\index\controller;
use think\Db;
class Contact extends Base{
    public function contact(){
        $contactus_banner=Db::name('contactus_banner')->where('id',1)->find();
        $express=Db::name('express_style')->order('id asc')->select();
        $this->assign('system_set',$this->system_set());
        $this->assign('contactus_banner',$contactus_banner);
        $this->assign('express',$express);
        return $this->fetch();
    }
    public function message(){
        $contactus_banner=Db::name('contactus_banner')->where('id',1)->find();
        $express=Db::name('express_style')->order('id asc')->select();
        $this->assign('system_set',$this->system_set());
        $this->assign('contactus_banner',$contactus_banner);
        $this->assign('express',$express);
        return $this->fetch();
    }
}
